﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;
using System.Collections;
using Distrackting.DataLayer;
using Distrackting.BusinessLayer;

namespace Distrackting.PresentationLayer
{
    public partial class ListaPerc : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {   
            
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Panel1.Visible = true;
            Button2.Visible = true;
            Button1.Visible = false;
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            Panel1.Visible = false;
            Button1.Visible = true;
            Button2.Visible = false;

        }

        protected void Button3_Click(object sender, EventArgs e)
        {
            String localidade = "";
            String dificuldade = "" ;
            String tipo = "";
            String ambito = "";
            if (DropDownLocalidade.SelectedIndex != 0) localidade = DropDownLocalidade.SelectedItem.ToString();
            if (DropDownDif.SelectedIndex != 0) dificuldade = DropDownDif.SelectedItem.ToString();
            if (DropDownTipo_perc.SelectedIndex != 0) tipo = DropDownTipo_perc.SelectedItem.ToString();
            if (DropDownAmbito.SelectedIndex != 0) ambito = DropDownAmbito.SelectedItem.ToString();


        }


    }
}
